%{ // -*- mode: c -*-
/*****************************************************************************/
/*  LibreDWG - free implementation of the DWG file format                    */
/*                                                                           */
/*  Copyright (C) 2020 Free Software Foundation, Inc.                        */
/*                                                                           */
/*  This library is free software, licensed under the terms of the GNU       */
/*  General Public License as published by the Free Software Foundation,     */
/*  either version 3 of the License, or (at your option) any later version.  */
/*  You should have received a copy of the GNU General Public License        */
/*  along with this program.  If not, see <http://www.gnu.org/licenses/>.    */
/*****************************************************************************/

/*
 * objects.c: define all our entity and object names as hashmap,
 *            generated via gperf from object.in,
 *            which is generated by gen-dynapi.pl
 *
 * written by Reini Urban
 */

#include <string.h>
#include <limits.h>
#include "config.h"
#include "dwg.h"
#include "common.h"
#include "classes.h"

// v3.1 changed len type from unsigned int to size_t (gperf d519d1a821511eaa22eae6d9019a548aea21e6)
static const struct _dwg_dxfname * in_word_set (const char *str, size_t len);

#define STABLE (unsigned)DWG_CLASS_STABLE
#define UNSTABLE (unsigned)DWG_CLASS_UNSTABLE
#define DEBUGGING (unsigned)DWG_CLASS_DEBUGGING
#define UNHANDLED (unsigned)DWG_CLASS_UNHANDLED

%}
%7bit
%language=ANSI-C
%struct-type
%readonly-tables
%pic

struct _dwg_dxfname {int name; const char *const dxfname; const Dwg_Object_Type type; const unsigned isent:1; const unsigned stability:4; };

GCC46_DIAG_IGNORE(-Wmissing-field-initializers)

%%
# Entities
"3DFACE",                    "3DFACE",                     DWG_TYPE__3DFACE,	1,	STABLE
"3DLINE",                    "3DLINE",                     DWG_TYPE__3DLINE,	1,	STABLE
"3DSOLID",                   "3DSOLID",                    DWG_TYPE__3DSOLID,	1,	STABLE
"ALIGNMENTPARAMETERENTITY",  "ALIGNMENTPARAMETERENTITY",   DWG_TYPE_ALIGNMENTPARAMETERENTITY,	1,	DEBUGGING
"ARC",                       "ARC",                        DWG_TYPE_ARC,	1,	STABLE
"ARCALIGNEDTEXT",            "ARCALIGNEDTEXT",             DWG_TYPE_ARCALIGNEDTEXT,	1,	DEBUGGING
"ARC_DIMENSION",             "ARC_DIMENSION",              DWG_TYPE_ARC_DIMENSION,	1,	UNSTABLE
"ATTDEF",                    "ATTDEF",                     DWG_TYPE_ATTDEF,	1,	STABLE
"ATTRIB",                    "ATTRIB",                     DWG_TYPE_ATTRIB,	1,	STABLE
"BASEPOINTPARAMETERENTITY",  "BASEPOINTPARAMETERENTITY",   DWG_TYPE_BASEPOINTPARAMETERENTITY,	1,	DEBUGGING
"BLOCK",                     "BLOCK",                      DWG_TYPE_BLOCK,	1,	STABLE
"BODY",                      "BODY",                       DWG_TYPE_BODY,	1,	STABLE
"CAMERA",                    "CAMERA",                     DWG_TYPE_CAMERA,	1,	STABLE
"CIRCLE",                    "CIRCLE",                     DWG_TYPE_CIRCLE,	1,	STABLE
"DGNUNDERLAY",               "DGNUNDERLAY",                DWG_TYPE_DGNUNDERLAY,	1,	STABLE
"DIMENSION_ALIGNED",         "DIMENSION",                  DWG_TYPE_DIMENSION_ALIGNED,	1,	STABLE
"DIMENSION_ANG2LN",          "DIMENSION",                  DWG_TYPE_DIMENSION_ANG2LN,	1,	STABLE
"DIMENSION_ANG3PT",          "DIMENSION",                  DWG_TYPE_DIMENSION_ANG3PT,	1,	STABLE
"DIMENSION_DIAMETER",        "DIMENSION",                  DWG_TYPE_DIMENSION_DIAMETER,	1,	STABLE
"DIMENSION_LINEAR",          "DIMENSION",                  DWG_TYPE_DIMENSION_LINEAR,	1,	STABLE
"DIMENSION_ORDINATE",        "DIMENSION",                  DWG_TYPE_DIMENSION_ORDINATE,	1,	STABLE
"DIMENSION_RADIUS",          "DIMENSION",                  DWG_TYPE_DIMENSION_RADIUS,	1,	STABLE
"DWFUNDERLAY",               "DWFUNDERLAY",                DWG_TYPE_DWFUNDERLAY,	1,	STABLE
"ELLIPSE",                   "ELLIPSE",                    DWG_TYPE_ELLIPSE,	1,	STABLE
"ENDBLK",                    "ENDBLK",                     DWG_TYPE_ENDBLK,	1,	STABLE
"ENDREP",                    "ENDREP",                     DWG_TYPE_ENDREP,	1,	STABLE
"EXTRUDEDSURFACE",           "EXTRUDEDSURFACE",            DWG_TYPE_EXTRUDEDSURFACE,	1,	DEBUGGING
"FLIPGRIPENTITY",            "FLIPGRIPENTITY",             DWG_TYPE_FLIPGRIPENTITY,	1,	DEBUGGING
"FLIPPARAMETERENTITY",       "FLIPPARAMETERENTITY",        DWG_TYPE_FLIPPARAMETERENTITY,	1,	DEBUGGING
"GEOPOSITIONMARKER",         "POSITIONMARKER",             DWG_TYPE_GEOPOSITIONMARKER,	1,	DEBUGGING
"HATCH",                     "HATCH",                      DWG_TYPE_HATCH,	1,	STABLE
"HELIX",                     "HELIX",                      DWG_TYPE_HELIX,	1,	UNSTABLE
"IMAGE",                     "IMAGE",                      DWG_TYPE_IMAGE,	1,	STABLE
"INSERT",                    "INSERT",                     DWG_TYPE_INSERT,	1,	STABLE
"JUMP",                      "JUMP",                       DWG_TYPE_JUMP,	1,	STABLE
"LARGE_RADIAL_DIMENSION",    "LARGE_RADIAL_DIMENSION",     DWG_TYPE_LARGE_RADIAL_DIMENSION,	1,	UNSTABLE
"LAYOUTPRINTCONFIG",         "LAYOUTPRINTCONFIG",          DWG_TYPE_LAYOUTPRINTCONFIG,	1,	UNSTABLE
"LEADER",                    "LEADER",                     DWG_TYPE_LEADER,	1,	STABLE
"LIGHT",                     "LIGHT",                      DWG_TYPE_LIGHT,	1,	STABLE
"LINE",                      "LINE",                       DWG_TYPE_LINE,	1,	STABLE
"LINEARGRIPENTITY",          "LINEARGRIPENTITY",           DWG_TYPE_LINEARGRIPENTITY,	1,	DEBUGGING
"LINEARPARAMETERENTITY",     "LINEARPARAMETERENTITY",      DWG_TYPE_LINEARPARAMETERENTITY,	1,	DEBUGGING
"LOAD",                      "LOAD",                       DWG_TYPE_LOAD,	1,	STABLE
"LOFTEDSURFACE",             "LOFTEDSURFACE",              DWG_TYPE_LOFTEDSURFACE,	1,	DEBUGGING
"LWPOLYLINE",                "LWPOLYLINE",                 DWG_TYPE_LWPOLYLINE,	1,	STABLE
"MESH",                      "MESH",                       DWG_TYPE_MESH,	1,	STABLE
"MINSERT",                   "MINSERT",                    DWG_TYPE_MINSERT,	1,	STABLE
"MLINE",                     "MLINE",                      DWG_TYPE_MLINE,	1,	STABLE
"MPOLYGON",                  "MPOLYGON",                   DWG_TYPE_MPOLYGON,	1,	DEBUGGING
"MTEXT",                     "MTEXT",                      DWG_TYPE_MTEXT,	1,	STABLE
"MULTILEADER",               "MULTILEADER",                DWG_TYPE_MULTILEADER,	1,	STABLE
"NAVISWORKSMODEL",           "COORDINATION_MODEL",         DWG_TYPE_NAVISWORKSMODEL,	1,	DEBUGGING
"NURBSURFACE",               "NURBSURFACE",                DWG_TYPE_NURBSURFACE,	1,	DEBUGGING
"OLE2FRAME",                 "OLE2FRAME",                  DWG_TYPE_OLE2FRAME,	1,	STABLE
"OLEFRAME",                  "OLEFRAME",                   DWG_TYPE_OLEFRAME,	1,	STABLE
"PDFUNDERLAY",               "PDFUNDERLAY",                DWG_TYPE_PDFUNDERLAY,	1,	STABLE
"PLANESURFACE",              "PLANESURFACE",               DWG_TYPE_PLANESURFACE,	1,	UNSTABLE
"POINT",                     "POINT",                      DWG_TYPE_POINT,	1,	STABLE
"POINTCLOUD",                "ACDBPOINTCLOUD",             DWG_TYPE_POINTCLOUD,	1,	UNSTABLE
"POINTCLOUDEX",              "ACDBPOINTCLOUDEX",           DWG_TYPE_POINTCLOUDEX,	1,	UNSTABLE
"POINTPARAMETERENTITY",      "POINTPARAMETERENTITY",       DWG_TYPE_POINTPARAMETERENTITY,	1,	DEBUGGING
"POLARGRIPENTITY",           "POLARGRIPENTITY",            DWG_TYPE_POLARGRIPENTITY,	1,	DEBUGGING
"POLYLINE_2D",               "POLYLINE",                   DWG_TYPE_POLYLINE_2D,	1,	STABLE
"POLYLINE_3D",               "POLYLINE",                   DWG_TYPE_POLYLINE_3D,	1,	STABLE
"POLYLINE_MESH",             "POLYLINE",                   DWG_TYPE_POLYLINE_MESH,	1,	STABLE
"POLYLINE_PFACE",            "POLYLINE",                   DWG_TYPE_POLYLINE_PFACE,	1,	STABLE
"PROXY_ENTITY",              "ACAD_ENTITY_OBJECT",         DWG_TYPE_PROXY_ENTITY,	1,	STABLE
"RAY",                       "RAY",                        DWG_TYPE_RAY,	1,	STABLE
"REGION",                    "REGION",                     DWG_TYPE_REGION,	1,	STABLE
"REPEAT",                    "REPEAT",                     DWG_TYPE_REPEAT,	1,	STABLE
"REVOLVEDSURFACE",           "REVOLVEDSURFACE",            DWG_TYPE_REVOLVEDSURFACE,	1,	DEBUGGING
"ROTATIONGRIPENTITY",        "ROTATIONGRIPENTITY",         DWG_TYPE_ROTATIONGRIPENTITY,	1,	DEBUGGING
"ROTATIONPARAMETERENTITY",   "ROTATIONPARAMETERENTITY",    DWG_TYPE_ROTATIONPARAMETERENTITY,	1,	DEBUGGING
"RTEXT",                     "RTEXT",                      DWG_TYPE_RTEXT,	1,	DEBUGGING
"SECTIONOBJECT",             "SECTIONOBJECT",              DWG_TYPE_SECTIONOBJECT,	1,	STABLE
"SEQEND",                    "SEQEND",                     DWG_TYPE_SEQEND,	1,	STABLE
"SHAPE",                     "SHAPE",                      DWG_TYPE_SHAPE,	1,	STABLE
"SOLID",                     "SOLID",                      DWG_TYPE_SOLID,	1,	STABLE
"SPLINE",                    "SPLINE",                     DWG_TYPE_SPLINE,	1,	STABLE
"SWEPTSURFACE",              "SWEPTSURFACE",               DWG_TYPE_SWEPTSURFACE,	1,	DEBUGGING
"TABLE",                     "ACAD_TABLE",                 DWG_TYPE_TABLE,	1,	DEBUGGING
"TEXT",                      "TEXT",                       DWG_TYPE_TEXT,	1,	STABLE
"TOLERANCE",                 "TOLERANCE",                  DWG_TYPE_TOLERANCE,	1,	STABLE
"TRACE",                     "TRACE",                      DWG_TYPE_TRACE,	1,	STABLE
"UNKNOWN_ENT",               "UNKNOWN_ENT",                DWG_TYPE_UNKNOWN_ENT,	1,	STABLE
"VERTEX_2D",                 "VERTEX",                     DWG_TYPE_VERTEX_2D,	1,	STABLE
"VERTEX_3D",                 "VERTEX",                     DWG_TYPE_VERTEX_3D,	1,	STABLE
"VERTEX_MESH",               "VERTEX",                     DWG_TYPE_VERTEX_MESH,	1,	STABLE
"VERTEX_PFACE",              "VERTEX",                     DWG_TYPE_VERTEX_PFACE,	1,	STABLE
"VERTEX_PFACE_FACE",         "VERTEX",                     DWG_TYPE_VERTEX_PFACE_FACE,	1,	STABLE
"VIEWPORT",                  "VIEWPORT",                   DWG_TYPE_VIEWPORT,	1,	STABLE
"VISIBILITYGRIPENTITY",      "VISIBILITYGRIPENTITY",       DWG_TYPE_VISIBILITYGRIPENTITY,	1,	DEBUGGING
"VISIBILITYPARAMETERENTITY", "VISIBILITYPARAMETERENTITY",  DWG_TYPE_VISIBILITYPARAMETERENTITY,	1,	DEBUGGING
"WIPEOUT",                   "WIPEOUT",                    DWG_TYPE_WIPEOUT,	1,	STABLE
"XLINE",                     "XLINE",                      DWG_TYPE_XLINE,	1,	STABLE
"XYGRIPENTITY",              "XYGRIPENTITY",               DWG_TYPE_XYGRIPENTITY,	1,	DEBUGGING
"XYPARAMETERENTITY",         "XYPARAMETERENTITY",          DWG_TYPE_XYPARAMETERENTITY,	1,	DEBUGGING
# Objects
"ACMECOMMANDHISTORY",               "ACMECOMMANDHISTORY",                DWG_TYPE_ACMECOMMANDHISTORY,	0,	DEBUGGING
"ACMESCOPE",                        "ACMESCOPE",                         DWG_TYPE_ACMESCOPE,	0,	DEBUGGING
"ACMESTATEMGR",                     "ACMESTATEMGR",                      DWG_TYPE_ACMESTATEMGR,	0,	DEBUGGING
"ACSH_BOOLEAN_CLASS",               "ACSH_BOOLEAN_CLASS",                DWG_TYPE_ACSH_BOOLEAN_CLASS,	0,	STABLE
"ACSH_BOX_CLASS",                   "ACSH_BOX_CLASS",                    DWG_TYPE_ACSH_BOX_CLASS,	0,	STABLE
"ACSH_BREP_CLASS",                  "ACSH_BREP_CLASS",                   DWG_TYPE_ACSH_BREP_CLASS,	0,	UNSTABLE
"ACSH_CHAMFER_CLASS",               "ACSH_CHAMFER_CLASS",                DWG_TYPE_ACSH_CHAMFER_CLASS,	0,	UNSTABLE
"ACSH_CONE_CLASS",                  "ACSH_CONE_CLASS",                   DWG_TYPE_ACSH_CONE_CLASS,	0,	STABLE
"ACSH_CYLINDER_CLASS",              "ACSH_CYLINDER_CLASS",               DWG_TYPE_ACSH_CYLINDER_CLASS,	0,	STABLE
"ACSH_EXTRUSION_CLASS",             "ACSH_EXTRUSION_CLASS",              DWG_TYPE_ACSH_EXTRUSION_CLASS,	0,	DEBUGGING
"ACSH_FILLET_CLASS",                "ACSH_FILLET_CLASS",                 DWG_TYPE_ACSH_FILLET_CLASS,	0,	STABLE
"ACSH_HISTORY_CLASS",               "ACSH_HISTORY_CLASS",                DWG_TYPE_ACSH_HISTORY_CLASS,	0,	STABLE
"ACSH_LOFT_CLASS",                  "ACSH_LOFT_CLASS",                   DWG_TYPE_ACSH_LOFT_CLASS,	0,	DEBUGGING
"ACSH_PYRAMID_CLASS",               "ACSH_PYRAMID_CLASS",                DWG_TYPE_ACSH_PYRAMID_CLASS,	0,	UNSTABLE
"ACSH_REVOLVE_CLASS",               "ACSH_REVOLVE_CLASS",                DWG_TYPE_ACSH_REVOLVE_CLASS,	0,	DEBUGGING
"ACSH_SPHERE_CLASS",                "ACSH_SPHERE_CLASS",                 DWG_TYPE_ACSH_SPHERE_CLASS,	0,	STABLE
"ACSH_SWEEP_CLASS",                 "ACSH_SWEEP_CLASS",                  DWG_TYPE_ACSH_SWEEP_CLASS,	0,	DEBUGGING
"ACSH_TORUS_CLASS",                 "ACSH_TORUS_CLASS",                  DWG_TYPE_ACSH_TORUS_CLASS,	0,	STABLE
"ACSH_WEDGE_CLASS",                 "ACSH_WEDGE_CLASS",                  DWG_TYPE_ACSH_WEDGE_CLASS,	0,	STABLE
"ALDIMOBJECTCONTEXTDATA",           "ACDB_ALDIMOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_ALDIMOBJECTCONTEXTDATA,	0,	UNSTABLE
"ANGDIMOBJECTCONTEXTDATA",          "ACDB_ANGDIMOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_ANGDIMOBJECTCONTEXTDATA,	0,	DEBUGGING
"ANNOTSCALEOBJECTCONTEXTDATA",      "ACDB_ANNOTSCALEOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_ANNOTSCALEOBJECTCONTEXTDATA,	0,	DEBUGGING
"APPID",                            "APPID",                             DWG_TYPE_APPID,	0,	STABLE
"APPID_CONTROL",                    "APPID_CONTROL",                     DWG_TYPE_APPID_CONTROL,	0,	STABLE
"ASSOC2DCONSTRAINTGROUP",           "ACDBASSOC2DCONSTRAINTGROUP",        DWG_TYPE_ASSOC2DCONSTRAINTGROUP,	0,	UNSTABLE
"ASSOC3POINTANGULARDIMACTIONBODY",  "ACDBASSOC3POINTANGULARDIMACTIONBODY",  DWG_TYPE_ASSOC3POINTANGULARDIMACTIONBODY,	0,	DEBUGGING
"ASSOCACTION",                      "ACDBASSOCACTION",                   DWG_TYPE_ASSOCACTION,	0,	UNSTABLE
"ASSOCACTIONPARAM",                 "ACDBASSOCACTIONPARAM",              DWG_TYPE_ASSOCACTIONPARAM,	0,	UNSTABLE
"ASSOCALIGNEDDIMACTIONBODY",        "ACDBASSOCALIGNEDDIMACTIONBODY",     DWG_TYPE_ASSOCALIGNEDDIMACTIONBODY,	0,	DEBUGGING
"ASSOCARRAYACTIONBODY",             "ACDBASSOCARRAYACTIONBODY",          DWG_TYPE_ASSOCARRAYACTIONBODY,	0,	UNSTABLE
"ASSOCARRAYMODIFYACTIONBODY",       "ACDBASSOCARRAYMODIFYACTIONBODY",    DWG_TYPE_ASSOCARRAYMODIFYACTIONBODY,	0,	DEBUGGING
"ASSOCARRAYMODIFYPARAMETERS",       "ACDBASSOCARRAYMODIFYPARAMETERS",    DWG_TYPE_ASSOCARRAYMODIFYPARAMETERS,	0,	UNSTABLE
"ASSOCARRAYPATHPARAMETERS",         "ACDBASSOCARRAYPATHPARAMETERS",      DWG_TYPE_ASSOCARRAYPATHPARAMETERS,	0,	UNSTABLE
"ASSOCARRAYPOLARPARAMETERS",        "ACDBASSOCARRAYPOLARPARAMETERS",     DWG_TYPE_ASSOCARRAYPOLARPARAMETERS,	0,	UNSTABLE
"ASSOCARRAYRECTANGULARPARAMETERS",  "ACDBASSOCARRAYRECTANGULARPARAMETERS",  DWG_TYPE_ASSOCARRAYRECTANGULARPARAMETERS,	0,	UNSTABLE
"ASSOCASMBODYACTIONPARAM",          "ACDBASSOCASMBODYACTIONPARAM",       DWG_TYPE_ASSOCASMBODYACTIONPARAM,	0,	UNSTABLE
"ASSOCBLENDSURFACEACTIONBODY",      "ACDBASSOCBLENDSURFACEACTIONBODY",   DWG_TYPE_ASSOCBLENDSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCCOMPOUNDACTIONPARAM",         "ACDBASSOCCOMPOUNDACTIONPARAM",      DWG_TYPE_ASSOCCOMPOUNDACTIONPARAM,	0,	UNSTABLE
"ASSOCDEPENDENCY",                  "ACDBASSOCDEPENDENCY",               DWG_TYPE_ASSOCDEPENDENCY,	0,	UNSTABLE
"ASSOCDIMDEPENDENCYBODY",           "ACDBASSOCDIMDEPENDENCYBODY",        DWG_TYPE_ASSOCDIMDEPENDENCYBODY,	0,	UNSTABLE
"ASSOCEDGEACTIONPARAM",             "ACDBASSOCEDGEACTIONPARAM",          DWG_TYPE_ASSOCEDGEACTIONPARAM,	0,	DEBUGGING
"ASSOCEDGECHAMFERACTIONBODY",       "ACDBASSOCEDGECHAMFERACTIONBODY",    DWG_TYPE_ASSOCEDGECHAMFERACTIONBODY,	0,	DEBUGGING
"ASSOCEDGEFILLETACTIONBODY",        "ACDBASSOCEDGEFILLETACTIONBODY",     DWG_TYPE_ASSOCEDGEFILLETACTIONBODY,	0,	DEBUGGING
"ASSOCEXTENDSURFACEACTIONBODY",     "ACDBASSOCEXTENDSURFACEACTIONBODY",  DWG_TYPE_ASSOCEXTENDSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCEXTRUDEDSURFACEACTIONBODY",   "ACDBASSOCEXTRUDEDSURFACEACTIONBODY",  DWG_TYPE_ASSOCEXTRUDEDSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCFACEACTIONPARAM",             "ACDBASSOCFACEACTIONPARAM",          DWG_TYPE_ASSOCFACEACTIONPARAM,	0,	UNSTABLE
"ASSOCFILLETSURFACEACTIONBODY",     "ACDBASSOCFILLETSURFACEACTIONBODY",  DWG_TYPE_ASSOCFILLETSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCGEOMDEPENDENCY",              "ACDBASSOCGEOMDEPENDENCY",           DWG_TYPE_ASSOCGEOMDEPENDENCY,	0,	STABLE
"ASSOCLOFTEDSURFACEACTIONBODY",     "ACDBASSOCLOFTEDSURFACEACTIONBODY",  DWG_TYPE_ASSOCLOFTEDSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCMLEADERACTIONBODY",           "ACDBASSOCMLEADERACTIONBODY",        DWG_TYPE_ASSOCMLEADERACTIONBODY,	0,	DEBUGGING
"ASSOCNETWORK",                     "ACDBASSOCNETWORK",                  DWG_TYPE_ASSOCNETWORK,	0,	STABLE
"ASSOCNETWORKSURFACEACTIONBODY",    "ACDBASSOCNETWORKSURFACEACTIONBODY",  DWG_TYPE_ASSOCNETWORKSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCOBJECTACTIONPARAM",           "ACDBASSOCOBJECTACTIONPARAM",        DWG_TYPE_ASSOCOBJECTACTIONPARAM,	0,	UNSTABLE
"ASSOCOFFSETSURFACEACTIONBODY",     "ACDBASSOCOFFSETSURFACEACTIONBODY",  DWG_TYPE_ASSOCOFFSETSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCORDINATEDIMACTIONBODY",       "ACDBASSOCORDINATEDIMACTIONBODY",    DWG_TYPE_ASSOCORDINATEDIMACTIONBODY,	0,	DEBUGGING
"ASSOCOSNAPPOINTREFACTIONPARAM",    "ACDBASSOCOSNAPPOINTREFACTIONPARAM",  DWG_TYPE_ASSOCOSNAPPOINTREFACTIONPARAM,	0,	UNSTABLE
"ASSOCPATCHSURFACEACTIONBODY",      "ACDBASSOCPATCHSURFACEACTIONBODY",   DWG_TYPE_ASSOCPATCHSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCPATHACTIONPARAM",             "ACDBASSOCPATHACTIONPARAM",          DWG_TYPE_ASSOCPATHACTIONPARAM,	0,	UNSTABLE
"ASSOCPERSSUBENTMANAGER",           "ACDBASSOCPERSSUBENTMANAGER",        DWG_TYPE_ASSOCPERSSUBENTMANAGER,	0,	DEBUGGING
"ASSOCPLANESURFACEACTIONBODY",      "ACDBASSOCPLANESURFACEACTIONBODY",   DWG_TYPE_ASSOCPLANESURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCPOINTREFACTIONPARAM",         "ACDBASSOCPOINTREFACTIONPARAM",      DWG_TYPE_ASSOCPOINTREFACTIONPARAM,	0,	UNSTABLE
"ASSOCRESTOREENTITYSTATEACTIONBODY", "ACDBASSOCRESTOREENTITYSTATEACTIONBODY",  DWG_TYPE_ASSOCRESTOREENTITYSTATEACTIONBODY,	0,	DEBUGGING
"ASSOCREVOLVEDSURFACEACTIONBODY",   "ACDBASSOCREVOLVEDSURFACEACTIONBODY",  DWG_TYPE_ASSOCREVOLVEDSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCROTATEDDIMACTIONBODY",        "ACDBASSOCROTATEDDIMACTIONBODY",     DWG_TYPE_ASSOCROTATEDDIMACTIONBODY,	0,	DEBUGGING
"ASSOCSWEPTSURFACEACTIONBODY",      "ACDBASSOCSWEPTSURFACEACTIONBODY",   DWG_TYPE_ASSOCSWEPTSURFACEACTIONBODY,	0,	DEBUGGING
"ASSOCTRIMSURFACEACTIONBODY",       "ACDBASSOCTRIMSURFACEACTIONBODY",    DWG_TYPE_ASSOCTRIMSURFACEACTIONBODY,	0,	UNSTABLE
"ASSOCVALUEDEPENDENCY",             "ACDBASSOCVALUEDEPENDENCY",          DWG_TYPE_ASSOCVALUEDEPENDENCY,	0,	UNSTABLE
"ASSOCVARIABLE",                    "ACDBASSOCVARIABLE",                 DWG_TYPE_ASSOCVARIABLE,	0,	UNSTABLE
"ASSOCVERTEXACTIONPARAM",           "ACDBASSOCVERTEXACTIONPARAM",        DWG_TYPE_ASSOCVERTEXACTIONPARAM,	0,	UNSTABLE
"BLKREFOBJECTCONTEXTDATA",          "ACDB_BLKREFOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_BLKREFOBJECTCONTEXTDATA,	0,	UNSTABLE
"BLOCKALIGNEDCONSTRAINTPARAMETER",  "BLOCKALIGNEDCONSTRAINTPARAMETER",   DWG_TYPE_BLOCKALIGNEDCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKALIGNMENTGRIP",               "BLOCKALIGNMENTGRIP",                DWG_TYPE_BLOCKALIGNMENTGRIP,	0,	STABLE
"BLOCKALIGNMENTPARAMETER",          "BLOCKALIGNMENTPARAMETER",           DWG_TYPE_BLOCKALIGNMENTPARAMETER,	0,	STABLE
"BLOCKANGULARCONSTRAINTPARAMETER",  "BLOCKANGULARCONSTRAINTPARAMETER",   DWG_TYPE_BLOCKANGULARCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKARRAYACTION",                 "BLOCKARRAYACTION",                  DWG_TYPE_BLOCKARRAYACTION,	0,	UNSTABLE
"BLOCKBASEPOINTPARAMETER",          "BLOCKBASEPOINTPARAMETER",           DWG_TYPE_BLOCKBASEPOINTPARAMETER,	0,	STABLE
"BLOCKDIAMETRICCONSTRAINTPARAMETER", "BLOCKDIAMETRICCONSTRAINTPARAMETER",  DWG_TYPE_BLOCKDIAMETRICCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKFLIPACTION",                  "BLOCKFLIPACTION",                   DWG_TYPE_BLOCKFLIPACTION,	0,	STABLE
"BLOCKFLIPGRIP",                    "BLOCKFLIPGRIP",                     DWG_TYPE_BLOCKFLIPGRIP,	0,	STABLE
"BLOCKFLIPPARAMETER",               "BLOCKFLIPPARAMETER",                DWG_TYPE_BLOCKFLIPPARAMETER,	0,	STABLE
"BLOCKGRIPLOCATIONCOMPONENT",       "BLOCKGRIPLOCATIONCOMPONENT",        DWG_TYPE_BLOCKGRIPLOCATIONCOMPONENT,	0,	STABLE
"BLOCKHORIZONTALCONSTRAINTPARAMETER", "BLOCKHORIZONTALCONSTRAINTPARAMETER",  DWG_TYPE_BLOCKHORIZONTALCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKLINEARCONSTRAINTPARAMETER",   "BLOCKLINEARCONSTRAINTPARAMETER",    DWG_TYPE_BLOCKLINEARCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKLINEARGRIP",                  "BLOCKLINEARGRIP",                   DWG_TYPE_BLOCKLINEARGRIP,	0,	STABLE
"BLOCKLINEARPARAMETER",             "BLOCKLINEARPARAMETER",              DWG_TYPE_BLOCKLINEARPARAMETER,	0,	UNSTABLE
"BLOCKLOOKUPACTION",                "BLOCKLOOKUPACTION",                 DWG_TYPE_BLOCKLOOKUPACTION,	0,	UNSTABLE
"BLOCKLOOKUPGRIP",                  "BLOCKLOOKUPGRIP",                   DWG_TYPE_BLOCKLOOKUPGRIP,	0,	STABLE
"BLOCKLOOKUPPARAMETER",             "BLOCKLOOKUPPARAMETER",              DWG_TYPE_BLOCKLOOKUPPARAMETER,	0,	UNSTABLE
"BLOCKMOVEACTION",                  "BLOCKMOVEACTION",                   DWG_TYPE_BLOCKMOVEACTION,	0,	STABLE
"BLOCKPARAMDEPENDENCYBODY",         "BLOCKPARAMDEPENDENCYBODY",          DWG_TYPE_BLOCKPARAMDEPENDENCYBODY,	0,	UNSTABLE
"BLOCKPOINTPARAMETER",              "BLOCKPOINTPARAMETER",               DWG_TYPE_BLOCKPOINTPARAMETER,	0,	UNSTABLE
"BLOCKPOLARGRIP",                   "BLOCKPOLARGRIP",                    DWG_TYPE_BLOCKPOLARGRIP,	0,	UNSTABLE
"BLOCKPOLARPARAMETER",              "BLOCKPOLARPARAMETER",               DWG_TYPE_BLOCKPOLARPARAMETER,	0,	UNSTABLE
"BLOCKPOLARSTRETCHACTION",          "BLOCKPOLARSTRETCHACTION",           DWG_TYPE_BLOCKPOLARSTRETCHACTION,	0,	UNSTABLE
"BLOCKPROPERTIESTABLE",             "BLOCKPROPERTIESTABLE",              DWG_TYPE_BLOCKPROPERTIESTABLE,	0,	DEBUGGING
"BLOCKPROPERTIESTABLEGRIP",         "BLOCKPROPERTIESTABLEGRIP",          DWG_TYPE_BLOCKPROPERTIESTABLEGRIP,	0,	DEBUGGING
"BLOCKRADIALCONSTRAINTPARAMETER",   "BLOCKRADIALCONSTRAINTPARAMETER",    DWG_TYPE_BLOCKRADIALCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKREPRESENTATION",              "ACDB_BLOCKREPRESENTATION_DATA",     DWG_TYPE_BLOCKREPRESENTATION,	0,	UNSTABLE
"BLOCKROTATEACTION",                "BLOCKROTATEACTION",                 DWG_TYPE_BLOCKROTATEACTION,	0,	STABLE
"BLOCKROTATIONGRIP",                "BLOCKROTATIONGRIP",                 DWG_TYPE_BLOCKROTATIONGRIP,	0,	STABLE
"BLOCKROTATIONPARAMETER",           "BLOCKROTATIONPARAMETER",            DWG_TYPE_BLOCKROTATIONPARAMETER,	0,	UNSTABLE
"BLOCKSCALEACTION",                 "BLOCKSCALEACTION",                  DWG_TYPE_BLOCKSCALEACTION,	0,	STABLE
"BLOCKSTRETCHACTION",               "BLOCKSTRETCHACTION",                DWG_TYPE_BLOCKSTRETCHACTION,	0,	UNSTABLE
"BLOCKUSERPARAMETER",               "BLOCKUSERPARAMETER",                DWG_TYPE_BLOCKUSERPARAMETER,	0,	UNSTABLE
"BLOCKVERTICALCONSTRAINTPARAMETER", "BLOCKVERTICALCONSTRAINTPARAMETER",  DWG_TYPE_BLOCKVERTICALCONSTRAINTPARAMETER,	0,	UNSTABLE
"BLOCKVISIBILITYGRIP",              "BLOCKVISIBILITYGRIP",               DWG_TYPE_BLOCKVISIBILITYGRIP,	0,	STABLE
"BLOCKVISIBILITYPARAMETER",         "BLOCKVISIBILITYPARAMETER",          DWG_TYPE_BLOCKVISIBILITYPARAMETER,	0,	UNSTABLE
"BLOCKXYGRIP",                      "BLOCKXYGRIP",                       DWG_TYPE_BLOCKXYGRIP,	0,	UNSTABLE
"BLOCKXYPARAMETER",                 "BLOCKXYPARAMETER",                  DWG_TYPE_BLOCKXYPARAMETER,	0,	UNSTABLE
"BLOCK_CONTROL",                    "BLOCK_CONTROL",                     DWG_TYPE_BLOCK_CONTROL,	0,	STABLE
"BLOCK_HEADER",                     "BLOCK_HEADER",                      DWG_TYPE_BLOCK_HEADER,	0,	STABLE
"BREAKDATA",                        "BREAKDATA",                         DWG_TYPE_BREAKDATA,	0,	DEBUGGING
"BREAKPOINTREF",                    "BREAKPOINTREF",                     DWG_TYPE_BREAKPOINTREF,	0,	DEBUGGING
"CELLSTYLEMAP",                     "CELLSTYLEMAP",                      DWG_TYPE_CELLSTYLEMAP,	0,	STABLE
"CONTEXTDATAMANAGER",               "CONTEXTDATAMANAGER",                DWG_TYPE_CONTEXTDATAMANAGER,	0,	DEBUGGING
"CSACDOCUMENTOPTIONS",              "CSACDOCUMENTOPTIONS",               DWG_TYPE_CSACDOCUMENTOPTIONS,	0,	DEBUGGING
"CURVEPATH",                        "ACDBCURVEPATH",                     DWG_TYPE_CURVEPATH,	0,	DEBUGGING
"DATALINK",                         "DATALINK",                          DWG_TYPE_DATALINK,	0,	UNSTABLE
"DATATABLE",                        "DATATABLE",                         DWG_TYPE_DATATABLE,	0,	DEBUGGING
"DBCOLOR",                          "DBCOLOR",                           DWG_TYPE_DBCOLOR,	0,	UNSTABLE
"DETAILVIEWSTYLE",                  "ACDBDETAILVIEWSTYLE",               DWG_TYPE_DETAILVIEWSTYLE,	0,	STABLE
"DGNDEFINITION",                    "DGNDEFINITION",                     DWG_TYPE_DGNDEFINITION,	0,	STABLE
"DICTIONARY",                       "DICTIONARY",                        DWG_TYPE_DICTIONARY,	0,	STABLE
"DICTIONARYVAR",                    "DICTIONARYVAR",                     DWG_TYPE_DICTIONARYVAR,	0,	STABLE
"DICTIONARYWDFLT",                  "ACDBDICTIONARYWDFLT",               DWG_TYPE_DICTIONARYWDFLT,	0,	STABLE
"DIMASSOC",                         "DIMASSOC",                          DWG_TYPE_DIMASSOC,	0,	DEBUGGING
"DIMSTYLE",                         "DIMSTYLE",                          DWG_TYPE_DIMSTYLE,	0,	STABLE
"DIMSTYLE_CONTROL",                 "DIMSTYLE_CONTROL",                  DWG_TYPE_DIMSTYLE_CONTROL,	0,	STABLE
"DMDIMOBJECTCONTEXTDATA",           "ACDB_DMDIMOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_DMDIMOBJECTCONTEXTDATA,	0,	DEBUGGING
"DUMMY",                            "DUMMY",                             DWG_TYPE_DUMMY,	0,	STABLE
"DWFDEFINITION",                    "DWFDEFINITION",                     DWG_TYPE_DWFDEFINITION,	0,	STABLE
"DYNAMICBLOCKPROXYNODE",            "ACAD_DYNAMICBLOCKPROXYNODE",        DWG_TYPE_DYNAMICBLOCKPROXYNODE,	0,	DEBUGGING
"DYNAMICBLOCKPURGEPREVENTER",       "ACDB_DYNAMICBLOCKPURGEPREVENTER_VERSION",  DWG_TYPE_DYNAMICBLOCKPURGEPREVENTER,	0,	STABLE
"EVALUATION_GRAPH",                 "ACAD_EVALUATION_GRAPH",             DWG_TYPE_EVALUATION_GRAPH,	0,	UNSTABLE
"FCFOBJECTCONTEXTDATA",             "ACDB_FCFOBJECTCONTEXTDATA_CLASS",   DWG_TYPE_FCFOBJECTCONTEXTDATA,	0,	UNSTABLE
"FIELD",                            "FIELD",                             DWG_TYPE_FIELD,	0,	STABLE
"FIELDLIST",                        "FIELDLIST",                         DWG_TYPE_FIELDLIST,	0,	STABLE
"GEODATA",                          "GEODATA",                           DWG_TYPE_GEODATA,	0,	STABLE
"GEOMAPIMAGE",                      "GEOMAPIMAGE",                       DWG_TYPE_GEOMAPIMAGE,	0,	DEBUGGING
"GRADIENT_BACKGROUND",              "GRADIENT_BACKGROUND",               DWG_TYPE_GRADIENT_BACKGROUND,	0,	UNSTABLE
"GROUND_PLANE_BACKGROUND",          "GROUND_PLANE_BACKGROUND",           DWG_TYPE_GROUND_PLANE_BACKGROUND,	0,	UNSTABLE
"GROUP",                            "GROUP",                             DWG_TYPE_GROUP,	0,	STABLE
"IBL_BACKGROUND",                   "RAPIDRTRENDERENVIRONMENT",          DWG_TYPE_IBL_BACKGROUND,	0,	UNSTABLE
"IDBUFFER",                         "IDBUFFER",                          DWG_TYPE_IDBUFFER,	0,	STABLE
"IMAGEDEF",                         "IMAGEDEF",                          DWG_TYPE_IMAGEDEF,	0,	STABLE
"IMAGEDEF_REACTOR",                 "IMAGEDEF_REACTOR",                  DWG_TYPE_IMAGEDEF_REACTOR,	0,	STABLE
"IMAGE_BACKGROUND",                 "IMAGE_BACKGROUND",                  DWG_TYPE_IMAGE_BACKGROUND,	0,	UNSTABLE
"INDEX",                            "INDEX",                             DWG_TYPE_INDEX,	0,	STABLE
"LAYER",                            "LAYER",                             DWG_TYPE_LAYER,	0,	STABLE
"LAYERFILTER",                      "LAYERFILTER",                       DWG_TYPE_LAYERFILTER,	0,	STABLE
"LAYER_CONTROL",                    "LAYER_CONTROL",                     DWG_TYPE_LAYER_CONTROL,	0,	STABLE
"LAYER_INDEX",                      "LAYER_INDEX",                       DWG_TYPE_LAYER_INDEX,	0,	STABLE
"LAYOUT",                           "LAYOUT",                            DWG_TYPE_LAYOUT,	0,	STABLE
"LEADEROBJECTCONTEXTDATA",          "ACDB_LEADEROBJECTCONTEXTDATA_CLASS",  DWG_TYPE_LEADEROBJECTCONTEXTDATA,	0,	UNSTABLE
"LIGHTLIST",                        "LIGHTLIST",                         DWG_TYPE_LIGHTLIST,	0,	UNSTABLE
"LONG_TRANSACTION",                 "LONG_TRANSACTION",                  DWG_TYPE_LONG_TRANSACTION,	0,	STABLE
"LTYPE",                            "LTYPE",                             DWG_TYPE_LTYPE,	0,	STABLE
"LTYPE_CONTROL",                    "LTYPE_CONTROL",                     DWG_TYPE_LTYPE_CONTROL,	0,	STABLE
"MATERIAL",                         "MATERIAL",                          DWG_TYPE_MATERIAL,	0,	UNSTABLE
"MENTALRAYRENDERSETTINGS",          "MENTALRAYRENDERSETTINGS",           DWG_TYPE_MENTALRAYRENDERSETTINGS,	0,	UNSTABLE
"MLEADEROBJECTCONTEXTDATA",         "ACDB_MLEADEROBJECTCONTEXTDATA_CLASS",  DWG_TYPE_MLEADEROBJECTCONTEXTDATA,	0,	DEBUGGING
"MLEADERSTYLE",                     "MLEADERSTYLE",                      DWG_TYPE_MLEADERSTYLE,	0,	UNSTABLE
"MLINESTYLE",                       "MLINESTYLE",                        DWG_TYPE_MLINESTYLE,	0,	STABLE
"MOTIONPATH",                       "ACDBMOTIONPATH",                    DWG_TYPE_MOTIONPATH,	0,	DEBUGGING
"MTEXTATTRIBUTEOBJECTCONTEXTDATA",  "ACDB_MTEXTATTRIBUTEOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_MTEXTATTRIBUTEOBJECTCONTEXTDATA,	0,	DEBUGGING
"MTEXTOBJECTCONTEXTDATA",           "ACDB_MTEXTOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_MTEXTOBJECTCONTEXTDATA,	0,	UNSTABLE
"NAVISWORKSMODELDEF",               "ACDBNAVISWORKSMODELDEF",            DWG_TYPE_NAVISWORKSMODELDEF,	0,	DEBUGGING
"OBJECT_PTR",                       "OBJECT_PTR",                        DWG_TYPE_OBJECT_PTR,	0,	UNSTABLE
"ORDDIMOBJECTCONTEXTDATA",          "ACDB_ORDDIMOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_ORDDIMOBJECTCONTEXTDATA,	0,	DEBUGGING
"PARTIAL_VIEWING_INDEX",            "PARTIAL_VIEWING_INDEX",             DWG_TYPE_PARTIAL_VIEWING_INDEX,	0,	UNSTABLE
"PDFDEFINITION",                    "PDFDEFINITION",                     DWG_TYPE_PDFDEFINITION,	0,	STABLE
"PERSUBENTMGR",                     "ACDBPERSSUBENTMANAGER",             DWG_TYPE_PERSUBENTMGR,	0,	DEBUGGING
"PLACEHOLDER",                      "ACDBPLACEHOLDER",                   DWG_TYPE_PLACEHOLDER,	0,	STABLE
"PLOTSETTINGS",                     "PLOTSETTINGS",                      DWG_TYPE_PLOTSETTINGS,	0,	STABLE
"POINTCLOUDCOLORMAP",               "ACDBPOINTCLOUDCOLORMAP",            DWG_TYPE_POINTCLOUDCOLORMAP,	0,	UNSTABLE
"POINTCLOUDDEF",                    "ACDBPOINTCLOUDDEF",                 DWG_TYPE_POINTCLOUDDEF,	0,	UNSTABLE
"POINTCLOUDDEFEX",                  "ACDBPOINTCLOUDDEFEX",               DWG_TYPE_POINTCLOUDDEFEX,	0,	UNSTABLE
"POINTCLOUDDEF_REACTOR",            "ACDBPOINTCLOUDDEF_REACTOR",         DWG_TYPE_POINTCLOUDDEF_REACTOR,	0,	UNSTABLE
"POINTCLOUDDEF_REACTOR_EX",         "ACDBPOINTCLOUDDEF_REACTOR_EX",      DWG_TYPE_POINTCLOUDDEF_REACTOR_EX,	0,	UNSTABLE
"POINTPATH",                        "ACDBPOINTPATH",                     DWG_TYPE_POINTPATH,	0,	DEBUGGING
"PROXY_OBJECT",                     "ACAD_PROXY_OBJECT",                 DWG_TYPE_PROXY_OBJECT,	0,	UNSTABLE
"RADIMLGOBJECTCONTEXTDATA",         "ACDB_RADIMLGOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_RADIMLGOBJECTCONTEXTDATA,	0,	DEBUGGING
"RADIMOBJECTCONTEXTDATA",           "ACDB_RADIMOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_RADIMOBJECTCONTEXTDATA,	0,	DEBUGGING
"RAPIDRTRENDERSETTINGS",            "RAPIDRTRENDERSETTINGS",             DWG_TYPE_RAPIDRTRENDERSETTINGS,	0,	UNSTABLE
"RASTERVARIABLES",                  "RASTERVARIABLES",                   DWG_TYPE_RASTERVARIABLES,	0,	STABLE
"RENDERENTRY",                      "RENDERENTRY",                       DWG_TYPE_RENDERENTRY,	0,	UNSTABLE
"RENDERENVIRONMENT",                "RENDERENVIRONMENT",                 DWG_TYPE_RENDERENVIRONMENT,	0,	STABLE
"RENDERGLOBAL",                     "RENDERGLOBAL",                      DWG_TYPE_RENDERGLOBAL,	0,	UNSTABLE
"RENDERSETTINGS",                   "RENDERSETTINGS",                    DWG_TYPE_RENDERSETTINGS,	0,	UNSTABLE
"SCALE",                            "SCALE",                             DWG_TYPE_SCALE,	0,	STABLE
"SECTIONVIEWSTYLE",                 "ACDBSECTIONVIEWSTYLE",              DWG_TYPE_SECTIONVIEWSTYLE,	0,	STABLE
"SECTION_MANAGER",                  "SECTION_MANAGER",                   DWG_TYPE_SECTION_MANAGER,	0,	STABLE
"SECTION_SETTINGS",                 "SECTION_SETTINGS",                  DWG_TYPE_SECTION_SETTINGS,	0,	UNSTABLE
"SKYLIGHT_BACKGROUND",              "SKYLIGHT_BACKGROUND",               DWG_TYPE_SKYLIGHT_BACKGROUND,	0,	UNSTABLE
"SOLID_BACKGROUND",                 "SOLID_BACKGROUND",                  DWG_TYPE_SOLID_BACKGROUND,	0,	UNSTABLE
"SORTENTSTABLE",                    "SORTENTSTABLE",                     DWG_TYPE_SORTENTSTABLE,	0,	STABLE
"SPATIAL_FILTER",                   "SPATIAL_FILTER",                    DWG_TYPE_SPATIAL_FILTER,	0,	STABLE
"SPATIAL_INDEX",                    "SPATIAL_INDEX",                     DWG_TYPE_SPATIAL_INDEX,	0,	UNSTABLE
"STYLE",                            "STYLE",                             DWG_TYPE_STYLE,	0,	STABLE
"STYLE_CONTROL",                    "STYLE_CONTROL",                     DWG_TYPE_STYLE_CONTROL,	0,	STABLE
"SUN",                              "SUN",                               DWG_TYPE_SUN,	0,	STABLE
"SUNSTUDY",                         "SUNSTUDY",                          DWG_TYPE_SUNSTUDY,	0,	DEBUGGING
"TABLECONTENT",                     "TABLECONTENT",                      DWG_TYPE_TABLECONTENT,	0,	DEBUGGING
"TABLEGEOMETRY",                    "TABLEGEOMETRY",                     DWG_TYPE_TABLEGEOMETRY,	0,	STABLE
"TABLESTYLE",                       "TABLESTYLE",                        DWG_TYPE_TABLESTYLE,	0,	UNSTABLE
"TEXTOBJECTCONTEXTDATA",            "ACDB_TEXTOBJECTCONTEXTDATA_CLASS",  DWG_TYPE_TEXTOBJECTCONTEXTDATA,	0,	UNSTABLE
"TVDEVICEPROPERTIES",               "TVDEVICEPROPERTIES",                DWG_TYPE_TVDEVICEPROPERTIES,	0,	DEBUGGING
"UCS",                              "UCS",                               DWG_TYPE_UCS,	0,	STABLE
"UCS_CONTROL",                      "UCS_CONTROL",                       DWG_TYPE_UCS_CONTROL,	0,	STABLE
"UNKNOWN_OBJ",                      "UNKNOWN_OBJ",                       DWG_TYPE_UNKNOWN_OBJ,	0,	STABLE
"VBA_PROJECT",                      "VBA_PROJECT",                       DWG_TYPE_VBA_PROJECT,	0,	STABLE
"VIEW",                             "VIEW",                              DWG_TYPE_VIEW,	0,	STABLE
"VIEW_CONTROL",                     "VIEW_CONTROL",                      DWG_TYPE_VIEW_CONTROL,	0,	STABLE
"VISUALSTYLE",                      "VISUALSTYLE",                       DWG_TYPE_VISUALSTYLE,	0,	STABLE
"VPORT",                            "VPORT",                             DWG_TYPE_VPORT,	0,	STABLE
"VPORT_CONTROL",                    "VPORT_CONTROL",                     DWG_TYPE_VPORT_CONTROL,	0,	STABLE
"VX_CONTROL",                       "VX_CONTROL",                        DWG_TYPE_VX_CONTROL,	0,	STABLE
"VX_TABLE_RECORD",                  "VX_TABLE_RECORD",                   DWG_TYPE_VX_TABLE_RECORD,	0,	STABLE
"WIPEOUTVARIABLES",                 "WIPEOUTVARIABLES",                  DWG_TYPE_WIPEOUTVARIABLES,	0,	STABLE
"XRECORD",                          "XRECORD",                           DWG_TYPE_XRECORD,	0,	STABLE
%%

/* Find if an object name (our internal name, not anything used elsewhere)
   is defined, and return our fixed type, the public dxfname and if it's an entity. */
EXPORT int dwg_object_name (const char *const restrict name,
                            const char **restrict dxfname,
                            Dwg_Object_Type *restrict typep, int *restrict is_entp,
                            Dwg_Class_Stability *restrict stabilityp)
{
  const struct _dwg_dxfname* result;
  const size_t len = strlen (name);
  // only allow UPPERCASE 7-bit names
  if (strspn (name, "ABCDEFGHIJKLMNOPQRSTUVWXYZ_23") != len)
    return 0;
  result = in_word_set (name, len);
  if (result)
    {
      if (dxfname)
        *dxfname = result->dxfname;
      if (typep)
        *typep   = result->type;
      if (is_entp)
        *is_entp = result->isent;
      if (stabilityp)
        *stabilityp = (Dwg_Class_Stability)result->stability;
      return 1;
    }
  return 0;
}
GCC46_DIAG_RESTORE

/*
 * Local variables:
 *   c-file-style: "gnu"
 * End:
 * vim: expandtab shiftwidth=4 cinoptions='\:2=2' :
 */
